package com.lsege.mapper.backstage;

import com.lsege.entity.backstage.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/7/10.
 */
@Mapper
@Repository("ActivityMapper")
public interface ActivityMapper {
    Long queryStatusByTitle(Activity activity);
    void startActivity(Activity activity);
    List<Activity> queryActivityList();
    Long queryActivityCount();
    void endActivity(Activity activity);
}
